package com.naiterui.ehp.bs.recommend.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.naiterui.ehp.bp.bo.statistics.AsRecipelRecordBO;
import com.naiterui.ehp.bp.support.config.FeignConfiguration;
import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * @Description TODO
 * @Author gongbaoqiang
 * @Date 2020/6/3 6:26 PM
 */
@FeignClient(name = "seatch", url = "${ehp.domain.search}", configuration = FeignConfiguration.class)
public interface ISearchFeignClient {

    /**
     * 创建处方记录
     * 
     * @param recipelRecordBO
     * @throws BusinessException
     */
    @GetMapping("inner/statistics/recipel/record")
    void createRecipelRecordIndex(@RequestBody AsRecipelRecordBO recipelRecordBO);
}
